package user

// 错误常量
const (
	// 用户
	UserNameErr = 2001 + iota
	PasswordErr
	UserExists
	UserNoExists
)

// 错误消息
var ErrorMessageList = func() map[int32]string {
	return map[int32]string{
		UserNameErr:  "用户名错误",
		PasswordErr:  "密码错误",
		UserExists:   "用户已存在",
		UserNoExists: "用户不存在",
	}
}
